<template>
  <div class="tag-icon" :style="style">
    <div class="icon-bar" />
    <h3>{{ props.title }}</h3>
  </div>
</template>

<script lang="ts" setup>
const props = defineProps({
  title: {
    type: String,
    default: 'Title',
  },
  style: {
    type: Object,
    default: () => {
      return {}
    }
  }
});
</script>
<style lang="scss" scoped>
.tag-icon {
  display: flex;
  padding-top: 10px;
  padding-bottom: 15px;
  .icon-bar {
    display: inline-block;
    background-color: rgba(1, 18, 90, 1);
    width: 4px;
    height: 16px;
  }
  h3 {
    margin-left: 8px;
    color: rgba(1, 18, 90, 1);
    font-size: 14px;
  }
}
</style>
